function getCreatedTimeText(createdTime) {
    //当前时间
    let now = new Date().getTime();
    //间隔时间  转换为秒
    let pastTime = (now - new Date(createdTime).getTime())/1000;
    let createdTimeText = "未知时间";
    if(pastTime<60){
        createdTimeText="刚刚";
    }else if(pastTime < 60 * 60){
        //无视小数
        createdTimeText = parseInt(pastTime/60)+"分钟前";
    }else if(pastTime < 60 * 60 * 24){
        createdTimeText = parseInt(pastTime/60/60)+"小时前";
    }else{
        createdTimeText = parseInt(pastTime/60/60/24)+"天前";
    }
    return createdTimeText;
}